using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using NCS.Module.CMS.Library.Providers;

namespace NCS.Module.CMS.Library.Sport
{
    public class SeasonController
    {
        public static int SoccerSeason_Insert(SoccerSeasonInfo season)
        {
            return DataAccessProvider.Instance().SoccerSeason_Insert(season);
        }
        public static void SoccerSeason_Delete(int season_ID)
        {
            DataAccessProvider.Instance().SoccerSeason_Delete(season_ID);
        }
        public static SoccerSeasonInfo SoccerSeason_GetInfo(int season_id)
        {
            return DataAccessProvider.Instance().SoccerSeason_GetInfo(season_id);
        }
        public static DataTable SoccerSeason_GetAll(bool status)
        {
            return DataAccessProvider.Instance().SoccerSeason_GetAll(status);
        }
        public static void SoccerSeason_Update(SoccerSeasonInfo si)
        {
            DataAccessProvider.Instance().SoccerSeason_Update(si);
        }
        public static void SoccerSeason_SetStatus(int seasonid, bool status)
        {
            DataAccessProvider.Instance().SoccerSeason_SetStatus(seasonid, status);
        }
        public static void SoccerSeason_SetPriority(int seasonid, int index)
        {
            DataAccessProvider.Instance().SoccerSeason_SetPriority(seasonid, index);
        }
    }
}
